package com.openbravo.pos.printer.escpos;

public abstract class UnicodeTranslator
{
  public abstract byte[] getCodeTable();

  public final byte[] transString(String paramString)
  {
    if (paramString == null)
      return null;
    byte[] arrayOfByte = new byte[paramString.length()];
    for (int i = 0; i < paramString.length(); i++)
      arrayOfByte[i] = transChar(paramString.charAt(i));
    return arrayOfByte;
  }

  public abstract byte transChar(char paramChar);
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.printer.escpos.UnicodeTranslator
 * JD-Core Version:    0.6.0
 */